package com.rpay.common.util.http.response;

import com.rpay.common.util.http.request.HttpConfig;
import org.apache.http.Header;
import org.apache.http.HttpResponse;



public class HttpReturn {

    private String status;

    private Integer code;

    private Header[]  headers;

    /**
     * 返回值字符串
     */
    private String result;

    /**
     * 返回值元数据
     */
    private HttpResponse response;

    /**
     * 请求参数
     */
    private HttpConfig httpConfig;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Header[] getHeaders() {
        return headers;
    }

    public void setHeaders(Header[] headers) {
        this.headers = headers;
    }

    public HttpResponse getResponse() {
        return response;
    }

    public void setResponse(HttpResponse response) {
        this.response = response;
    }

    public HttpConfig getHttpConfig() {
        return httpConfig;
    }

    public void setHttpConfig(HttpConfig httpConfig) {
        this.httpConfig = httpConfig;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
